//
//  SYS_LoginModel.h
//  System_App
//
//  Created by 魏配军 on 2017/11/28.
//  Copyright © 2017年 czy001. All rights reserved.
//

#import <Foundation/Foundation.h>
@class  SYS_LoginModel;

@interface SYS_Admin :NSObject
@property (nonatomic , copy) NSString              * lastLoginTime;
@property (nonatomic , copy) NSString              * roleId;
@property (nonatomic , copy) NSString              * note;
@property (nonatomic , copy) NSString              * status;
@property (nonatomic , copy) NSString              * useType;
@property (nonatomic , copy) NSString              * userId;
@property (nonatomic , copy) NSString              * adminId;
@property (nonatomic , copy) NSString              * lastLoginIp;
@property (nonatomic , copy) NSString              * name;
@property (nonatomic , copy) NSString              * imKey;
@property (nonatomic , copy) NSString              * imPasswd;

@end

@interface SYS_User :NSObject
@property (nonatomic , copy) NSString              * integral;
@property (nonatomic , copy) NSString              * gprsX;
@property (nonatomic , copy) NSString              * birthday;
@property (nonatomic , copy) NSString              * nickName;
@property (nonatomic , copy) NSString              * growthValue;
@property (nonatomic , copy) NSString              * sendNewPackageFlag;
@property (nonatomic , copy) NSString              * status;
@property (nonatomic , copy) NSString              * userId;
@property (nonatomic , copy) NSString              * userLogo;
@property (nonatomic , copy) NSString              * sex;
@property (nonatomic , copy) NSString              * realName;
@property (nonatomic , copy) NSString              * payPasswd;
@property (nonatomic , copy) NSString              * idCard;
@property (nonatomic , copy) NSString              * isTestAccount;
@property (nonatomic , copy) NSString              * level;
@property (nonatomic , copy) NSString              * payFailCount;
@property (nonatomic , copy) NSString              * phone;
@property (nonatomic , copy) NSString              * lastLoginTime;
@property (nonatomic , copy) NSString              * email;
@property (nonatomic , copy) NSString              * addType;
@property (nonatomic , copy) NSString              * gprsY;
@property (nonatomic , copy) NSString              * createTime;
@property (nonatomic , copy) NSString              * addr;
@property (nonatomic , copy) NSString              * qq;
@property (nonatomic , copy) NSString              * lastLoginIp;
@property (nonatomic , copy) NSString              * payFailTime;

@end

@interface SYS_SessionInfo :NSObject
@property (nonatomic , copy) NSString              * userId;
@property (nonatomic , copy) NSString              * userLoginId;
@property (nonatomic , copy) NSString              * consoleType;
@property (nonatomic , copy) NSString              * consoleSubType;
@property (nonatomic , copy) NSString              * session;
@property (nonatomic , copy) NSString              * createTime;
@property (nonatomic , copy) NSString              * pid;

@end

@interface SYS_LoginModel : NSObject
@property (nonatomic , strong) SYS_Admin              * admin;
@property (nonatomic , strong) SYS_User              * user;
@property (nonatomic , strong) SYS_SessionInfo              * sessionInfo;


+ (SYS_LoginModel *)instance;
- (NSDictionary *)dictionaryValueBy:(SYS_LoginModel *)info;

@end
